package com.jack.payment.entity.result;

import com.jack.payment.entity.generate.user.UserModel;
import com.jack.payment.entity.generate.user.UserSettingModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "登录成功后返回的数据")
public class LoginSuccessModel implements Serializable {
    @Schema(description = "用户基础数据")
    private UserModel userBasic;
    @Schema(description = "用户设置")
    private UserSettingModel userSetting;
    @Schema(description = "token 令牌")
    private String token;
    @Schema(description = "检测用户是否需要进行2次验证[false:不需要 true:需要]")
    private boolean isTwoVerify;
}
